package cii_lib;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class CCII_ACCESS_LCON extends CCII_ACCESS_CONST {
	private static final Logger log = LoggerFactory
			.getLogger(CCII_ACCESS_LCON.class);
  private boolean _Val[]; 
  public CCII_ACCESS_LCON(String name, int size, boolean val[]) {super(name, size); _Val=val;}
  public CCII_ACCESS_LCON(String name, int size) {super(name, size);}
  protected void Set(boolean val[]) {_Val=val;};
  public boolean Get(int index) {
    if (index<0 || index>=Size()) try {
      throw new CiiLibException("CCII_ACCESS_LCON",CiiLibException.MSG.INDEX_ERROR);
  } catch (CiiLibException e) {log.error("", e);}
  return(_Val[index]);
  };
};
